package com.gxa.insurance.mapper;


import com.gxa.insurance.pojo.*;


import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @author shen gang
 * @date 2022/6/6
 */

/**
 * @author 司机评论
 */
public interface DriverCommentsMapper {
    List<DriverComments> selectAll();

    List<DriverComments> selectLikeName(Order order);

    List<DriverComments> selectByPage(Integer offset, Integer limit);

    //查询总条数
    Integer selectAllCount();

    Integer delete(Integer id);

    List<DriverComments> selectByTime(Map map);

    DriverComments selectComments(Integer id);


    DriverComments selectCommentsByNumber(String number);
}
